package com.dcshop.demo.dto;

import com.github.ontio.OntSdk;
import com.github.ontio.account.Account;
import com.github.ontio.smartcontract.neovm.abi.AbiInfo;

/**
 * 产品合约对象
 */
public class ProductContractDTO {


    private OntSdk ontSdk;

    /**
     * 产品关联账号
     */
    private Account account;

    /**
     * 支付账号
     */
    private Account payAccount;

    /**
     * abi数据
     */
    private AbiInfo info;

    /**
     * 产品hashid
     */
    private String productid;

    /**
     * 转账地址
     */
    private String toAddress;


    public OntSdk getOntSdk() {
        return ontSdk;
    }

    public void setOntSdk(OntSdk ontSdk) {
        this.ontSdk = ontSdk;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public Account getPayAccount() {
        return payAccount;
    }

    public void setPayAccount(Account payAccount) {
        this.payAccount = payAccount;
    }

    public AbiInfo getInfo() {
        return info;
    }

    public void setInfo(AbiInfo info) {
        this.info = info;
    }

    public String getProductid() {
        return productid;
    }

    public void setProductid(String productid) {
        this.productid = productid;
    }

    public String getToAddress() {
        return toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }
}
